﻿namespace ManagementApi.Services.Cms.Request;

public class ProjectPersonAttendanceInfoReq
{
    /// <summary>
    ///  施工项目编号
    ///</summary>
    public string BuildCode { get; set; }
    /// <summary>
    /// 项目名称
    ///</summary>
    public string ProjectName { get; set; }
    /// <summary>
    /// 考勤年月
    ///</summary>
    public string AttendanceMonth { get; set; }
    /// <summary>
    /// 本月项目在建天数
    ///</summary>
    public int BuildingDays { get; set; }

    public List<PersonAttendanceInfo> PersonAttendanceInfos { get; set; }
}

/// <summary>
/// 考勤人员信息
/// </summary>
public class PersonAttendanceInfo
{
    public int CorpType { get; set; }
    /// <summary>
    /// 企业信用代码 
    ///</summary>
    public string CorpCode { get; set; }
    /// <summary>
    /// 企业名称
    ///</summary>
    public string CorpName { get; set; }
    /// <summary>
    /// 岗位名称
    ///</summary>
    public string PostName { get; set; }
    /// <summary>
    /// 人员姓名
    ///</summary>
    public string PersonName { get; set; }
    /// <summary>
    /// 身份证
    ///</summary>
    public string IdCard { get; set; }
    /// <summary>
    /// 本月出勤天数 
    ///</summary>
    public int AttendanceDays { get; set; }
}
